<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>封禁词库</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="./?/file&name=base.min.css">
    <link rel="icon" href="./?/file&name=logo.png">
    {CSS}
</head>
<body>
<div class="content">
    <div class="content-heading">
        <div class="container">
            <h2 class="text-center heading">在下方管理封禁的词库</h2>
        </div>
    </div>
    <div class="container">
        <section class="content-inner">
            <h2 class="content-sub-heading">违禁词封禁列表</h2>
            <div class="table-responsive">
                <table class="table" title="IP封禁列表">
                    <thead>
                    <tr>
                        <th>封禁词</th>
                        <th>替换后的词</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
                <a class="btn waves-button waves-effect waves-light" id="addBanBtn">增加封禁词</a>
                <div id="addBanDiv">
                    <div class="form-group">
                        <p class="content-sub-heading"><label class="" for="banIPAddress">封禁词：</label></p>
                        <input class="form-control" type="text" id="banIPAddress" placeholder="封禁词">
                    </div>
                    <div class="form-group ">
                        <p class="content-sub-heading"><label class="" for="HttpCode">替换词：</label></p>
                        <input class="form-control" type="text" id="HttpCode" placeholder="替换词">
                    </div>
                    <div class="form-group text-center">
                        <a class="btn waves-button waves-effect waves-light" id="addBanBtnCancel">取消</a>
                        <a class="btn waves-button waves-effect waves-light" id="addBanBtnOk">确定</a>
                    </div>
                </div>
            </div>
        </section>
    </div>
</div>

<div class="footer">
    <p>Developed by SCH</p>
    <p>Chat-Lite {VERSION}<br>Running with PHP {PHPVERSION}</p>
</div>
<div>
    <button onclick="history.back();" style="position: fixed;top: 0;left: 0;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-arrow-left fa-2x"></span></button>
    <button id="back" onclick="window.open(`./?/`,`_self`)" style="position: fixed;top: 0;left: 84px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-home fa-2x"></span></button>
    <button id="refresh" onclick="location.reload()" style="position: fixed;top: 0;left: 168px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-refresh fa-2x"></span></button>
</div>
{SetColor}
<script src="./?/file&name=jquery.min.js"></script>
<script src="./?/file&name=base.min.js"></script>
<script src="./?/file&name=SetColor.js"></script>
{JS}
</body>
</html>